<div class="nav1">
<div class="sidetitle hideshow">Les 10 dernières traces</div>
<div class="sidegroup" id="track_menu">
    {% if latest_traces %}
    <ul>
        {% for trace in latest_traces %}
        <li>
            <a id="trace_{{ trace.id }}" class="a_track" href="/trace/{{ trace.id }}">{{ trace.name }} </a> ({{ trace.trace_property.all }} par {{ trace.user }})
        </li>
        {% endfor %}
    </ul>
    {% else %}
    Pas de traces disponibles dans cette zone...
    {% endif %}
</div>

{% if mes_traces %}
<div class="sidetitle hideshow">Mes 10 dernières traces</div>
<div class="sidegroup" id="track_menu">
    <ul>
        {% for trace in mes_traces %}
        <li>
            <a id="trace_{{ trace.id }}" class="a_track" href="/trace/{{ trace.id }}">{{ trace.name }} </a> ({{ trace.user }})
        </li>
        {% endfor %}
    </ul>
</div>
{% endif %}
</div>
{% if all_traces %}
<div class="sidetitle hideshow">Toutes les traces</div>
<div class="sidegroup hidden" id="track_menu">
    <ul>
        {% for trace in all_traces %}
        <li>
            <a id="trace_{{ trace.id }}" class="a_track" href="/trace/{{ trace.id }}">{{ trace.name }} </a> ({{ trace.user }})
        </li>
        {% endfor %}
    </ul>
</div>
{% endif %}
